﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyInvoice.SqlCEDAL
{
    public interface IInvoiceDetail
    {
        //EasyInvoice.Model.InvoiceDetail GetById(long id);

        IEnumerable<EasyInvoice.Model.InvoiceDetail> GetAllByInvoiceId(long invoiceId);

        long Save(EasyInvoice.Model.InvoiceDetail invoiceDetail);

        EasyInvoice.Model.InvoiceDetail Delete(EasyInvoice.Model.InvoiceDetail invoiceDetail);
    }
}
